import { http } from '@/utils/http'
import { carListType } from '@/types/data'

export const getCarList = async (page: string) => {
  const res = (await http.post('/api/getCarList', { page })) as carListType
  return res
}
